package zkclient;

import org.I0Itec.zkclient.ZkClient;

public class Del_Data_Sample {
    public static void main(String[] args) throws Exception {
        String path = "/lg-zkClient/lg-c1";
        ZkClient zkClient = new ZkClient("192.168.200.20:2181", 15000);
        zkClient.deleteRecursive(path);
        System.out.println("success delete znode.");
    }
}
